package com.mrdeer.iot.service;

import com.mrdeer.common.base.BaseService;
import com.mrdeer.iot.dto.ShopEntityDTO;
import com.mrdeer.iot.entity.ShopEntity;
import org.springframework.cache.annotation.CacheConfig;

/**
 * @Author: xie jianchu
 */
@CacheConfig(cacheNames = "shop")
public interface ShopService extends BaseService<ShopEntity, ShopEntityDTO> {
    /**
     * 根据店铺name查询
     *
     * @param name
     * @return
     */
    ShopEntity selectByName(String name);
}
